package com.hontech.kaltaapp.device.event

import com.hontech.kaltaapp.utils.isBitSet

class PartsCtrlStatus (flag: Int) {

    val roomLed = flag.isBitSet(0)
    val roomFan = flag.isBitSet(1)
    val drainFan = flag.isBitSet(2)
    val drainPump = flag.isBitSet(3)
    val v1 = flag.isBitSet(4)
    val v2 = flag.isBitSet(5)
    val v3 = flag.isBitSet(6)
    val v4 = flag.isBitSet(7)
    val v5 = flag.isBitSet(8)
    val v6 = flag.isBitSet(9)
    val v7 = flag.isBitSet(10)
    val v8 = flag.isBitSet(11)
    val heatWater = flag.isBitSet(12)
    val heatSteam = flag.isBitSet(13)
    val waterPump = flag.isBitSet(14)
}

